<?php
namespace Common\Controller;
use Think\Controller;

class HomeController extends Controller {
    
    public function _initialize(){
        
        //设置主题
        $theme = C('WEB_THEME');
        $theme = $theme == null ? 'default' : $theme;
        C('DEFAULT_THEME', $theme);
        
      
        
    }
    
    
    
  
    
}